<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,maximum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=Edge, chrome=1">
    <title>Document</title>
    <link rel="stylesheet" href="../css/bootstrap.css">
    <!-- <link rel="stylesheet" href="../css/base.css"> -->
    <link rel="stylesheet" href="../css/f_positionManagement.css">
</head>

<body>
    <div class="widthArr">
        <!-- 标题 -->
        <p>职位管理</p>
        <!-- 添加和搜索框 -->
        <div class="intLeft">
            <button id="faddBtnEmp" type="button" class="btn btn-info">添加</button><input type="text" class="form-control" placeholder="请输入搜索内容" id="queryBox">
        </div>
        <!-- 表格 -->
        <table class="table table-hover" id="tableBox">
            <thead>
                <tr>
                    <td><input type="checkbox" id="selectAll"></td>
                    <td>ID</td>
                    <td>职位名称</td>
                    <td>职位描述</td>
                    <td>查询权限</td>
                    <td>考核权限</td>
                    <td>销售统计分析</td>
                    <td>权限管理</td>
                    <td>后台管理</td>
                    <td>操作</td>
                </tr>
            </thead>
            <!-- 表格内容 -->
            <tbody id="fempTbody">

            </tbody>
        </table>
        <!-- 分页 -->
        <div id="pageDiv"></div>
        <!-- 添加的模态框 -->
        <div class="modal fade" tabindex="-1" role="dialog" id="fAddNewmodal">
            <div class="modal-dialog" role="document">
                <div class="modal-content addModk">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">添加新职位</h4>
                    </div>
                    <div class="modal-body">
                        <div class="fAddNew">
                            <div>

                                <table class="addModalTable">
                                    <tr class="PosLeft">
                                        <td>职位名称</td>
                                        <td><input type="text" id="fPosName" class="form-control"></td>
                                        <td id="fPosImg"></td>
                                    </tr>
                                    <tr class="PosLeft">
                                        <td>职位描述</td>
                                        <td><textarea cols="22" rows="3" id="PosDescribe" class="form-control"></textarea></td>
                                        <td id="fPosDiv"></td>
                                    </tr>

                                </table>
                                <table class="addModalTable" id="qx">
                                    <tr>
                                        <td><input type="checkbox" id="queryQx">查询权限</td>
                                        <td><input type="checkbox" id="assessQx">考核权限</td>
                                        <td><input type="checkbox" id="saleQx">销售权限</td>
                                    </tr>
                                    <tr>
                                        <td><input type="checkbox" id="qxGl">权限管理</td>
                                        <td><input type="checkbox" id="htGl">后台管理</td>
                                    </tr>
                                </table>

                            </div>
                        </div>
                    </div>
                    <div class="modal-footer btnF">
                        <button type="button" class="btn btn-info" data-dismiss="modal" id="fbtnAdd">添加</button>
                        <button type="button" class="btn btn-primary" id="fbtnCancel">取消</button>
                    </div>
                </div>
                <!-- /.modal-content -->
            </div>
            <!-- /.modal-dialog -->
        </div>
        <!-- 修改的模态框 -->
        <div class="modal fade" tabindex="-1" role="dialog" id="correctMod">
            <div class="modal-dialog" role="document">
                <div class="modal-content xiugaiTable">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">修改职位信息</h4>
                    </div>
                    <div class="modal-body">
                        <div class="fmodify" id="modifyF">
                            <div>
                                <table class="addModalTable">
                                    <tr class="PosLeft">
                                        <td>职位名称</td>
                                        <td><input type="text" id="modName" class="form-control"></td>
                                        <td id="fModImg"></td>
                                    </tr>
                                    <tr class="PosLeft">
                                        <td>职位描述</td>
                                        <td><textarea cols="22" rows="3" id="modDescribe" class="form-control"></textarea></td>
                                        <td id="fModDiv"></td>
                                    </tr>

                                </table>
                                <table class="addModalTable" id="modQx">
                                    <tr>
                                        <td><input type="checkbox" id="queryQxMod">查询权限</td>
                                        <td><input type="checkbox" id="assessQxMod">考核权限</td>
                                        <td><input type="checkbox" id="saleQxMod">销售权限</td>
                                    </tr>
                                    <tr>
                                        <td><input type="checkbox" id="qxGlMod">权限管理</td>
                                        <td><input type="checkbox" id="htGlMod">后台管理</td>
                                    </tr>
                                </table>

                            </div>

                        </div>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-success" data-dismiss="modal" id="fbtnAddMod">修改</button>
                        <button type="button" class="btn btn-primary" id="fbtnCancelMod">清除</button>
                    </div>
                </div>
                <!-- /.modal-content -->
            </div>
            <!-- /.modal-dialog -->
        </div>
        <!-- 修改成功的模态框 -->
        <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="modifySuccessModal">
            <div class="modal-dialog modal-sm" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">提示</h4>
                    </div>
                    <div class="modal-body">
                        <p>修改成功</p>
                    </div>
                </div>
            </div>
        </div>
        <!-- 添加失败模态框 -->
        <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="addSbMod">
            <div class="modal-dialog modal-sm" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">提示</h4>
                    </div>
                    <div class="modal-body">
                        <p>添加失败，请输入正确信息</p>
                    </div>
                </div>
            </div>
        </div>
        <!-- 修改失败模态框 -->
        <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="modifyFailModal">
            <div class="modal-dialog modal-sm" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">提示</h4>
                    </div>
                    <div class="modal-body">
                        <p>修改失败，请输入正确信息</p>
                    </div>
                </div>
            </div>
        </div>
        <!-- 添加成功模态框 -->
        <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="addCgMod">
            <div class="modal-dialog modal-sm" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">提示</h4>
                    </div>
                    <div class="modal-body">
                        <p>添加成功</p>
                    </div>
                </div>
            </div>
        </div>
        <!-- 删除的模态框 -->
        <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="delPosDel">
            <div class="modal-dialog modal-sm" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">提示</h4>
                    </div>
                    <div class="modal-body">
                        <p>确定删除吗？</p>
                    </div>
                    <div class="modal-footer">
                        <button type="button" class="btn btn-default" data-dismiss="modal" id="delPosModqd">确定</button>
                        <button type="button" class="btn btn-primary" id="delPosModqx">取消</button>
                    </div>
                </div>
            </div>
        </div>
        <!-- 删除成功的模态框 -->
        <div class="modal fade bs-example-modal-sm" tabindex="-1" role="dialog" aria-labelledby="mySmallModalLabel" id="delSuccessModal">
            <div class="modal-dialog modal-sm" role="document">
                <div class="modal-content">
                    <div class="modal-header">
                        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
                        <h4 class="modal-title">提示</h4>
                    </div>
                    <div class="modal-body">
                        <p>删除成功</p>
                    </div>
                </div>
            </div>
        </div>
    </div>



    <script src="../js/jquery-3.5.1.js"></script>
    <!-- <script src="../js/shuju.js"></script> -->
    <script src="../js/bootstrap.js"></script>

    <script src="../js/f_zwgl.js"></script>
</body>

</html>